import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBMineZiZhiAuthComplete extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        child: Scaffold(
          appBar: AppBar(
            elevation: 0,
            title: Text("资质认证"),
          ),
          body:SingleChildScrollView(
            child: Column(
              children: [
                Container(
                  height: YBTextStyle.adapterSize5,
                ),
                Container(
                  color: YBColor.white,
                  height: YBTextStyle.adapterSize88,
                  child:Padding(
                    padding: EdgeInsets.only(left: YBTextStyle.adapterSize20,right:YBTextStyle.adapterSize20),
                    child: Row(
                      children: [
                        Container(
                          height: YBTextStyle.adapterSize56,
                          width: YBTextStyle.adapterSize56,
                          alignment: Alignment.centerRight,
                          decoration: BoxDecoration(
                              color: YBColor.white,
                              borderRadius: BorderRadius.all(Radius.circular(YBTextStyle.adapterSize28)),
                              image: DecorationImage(
                                image: CachedNetworkImageProvider("logoImage"??""),
                                fit: BoxFit.cover,
                              )
                          ),
                        ),
                        Container(
                           width:YBTextStyle.adapterSize16,
                        ),
                        Container(
                          child: Column(
                            mainAxisAlignment: MainAxisAlignment.center,
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Container(
                                child: Text("胡晓婷",style: YBTextStyle.TextStyle18181820Medium,),
                              ),
                              Container(
                                child: Text("当前认证：律师",style: YBTextStyle.textStyle60626614,),
                              )
                            ],
                          ),
                        ),
                        Spacer(),
                        Container(
                          child:Text("重新认证",style: YBTextStyle.textStyleCOC4CC14,),
                        ),
                        Container(
                          height: YBTextStyle.adapterSize24,
                          width: YBTextStyle.adapterSize24,
                          child:SvgPicture.asset(YBImageStyle.getMineSVGPath('common_right_arrow')),
                        ),
                      ],
                    ),
                  ),
                ),
                Container(
                  height: YBTextStyle.adapterSize5,
                ),
                Container(
                  color: YBColor.white,
                  height: YBTextStyle.adapterSize58,
                  child:Padding(
                    padding:EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
                    child: Row(
                      children: [
                        Container(
                          child: Text("认证有效期",style: YBTextStyle.TextStyle1B1C1F16,),
                        ),
                        Spacer(),
                        Container(
                          child: Text("2020.11.20-2021.11.19",style: YBTextStyle.textStyleA9AEB814,),
                        ),
                      ],
                    ),
                  ),
                ),
                Container(
                  height: YBTextStyle.adapterSize5,
                ),
                Container(
                  color: YBColor.white,
                  height: YBTextStyle.adapterSize58,
                  child:Padding(
                    padding:EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
                    child: Row(
                      children: [
                        Container(
                          child: Text("认证区域",style: YBTextStyle.TextStyle1B1C1F16,),
                        ),
                        Spacer(),
                        Container(
                          child: Text("2020.11.20-2021.11.19",style: YBTextStyle.textStyleA9AEB814,),
                        ),
                      ],
                    ),
                  ),
                ),
              ],
            ),
          ),
        ),
    );
  }
}
